package cn.weiron.fun.sample.service;

import cn.weiron.fun.sample.entity.SampleTimeRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author weiRon
 * @date 2022/9/26 15:55
 */
public interface SampleTimeRecordService extends IService<SampleTimeRecord> {

    /**
     * 查詢單條數據
     * @param uniqueId
     */
    List<SampleTimeRecord> queryByUniqueId(String uniqueId);

    /**
     * 查詢單條數據
     * @param uniqueId
     */
    SampleTimeRecord queryByUniqueIdAndTime(String uniqueId,String dateTime);
}
